home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!marnold
- From: marnold@netcom.com (Matt Arnold)
- Subject: Re: memcopy...
- Message-ID: <marnoldDpw3qC.KH3@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- References: <4ksiul$n1o@news.duke.edu>
- Date: Mon, 15 Apr 1996 06:08:36 GMT
- Sender: marnold@netcom15.netcom.com
-
- Joshua Lindquist <lindquij@acpub.duke.edu> writes:
-
-
- >Hi...I'm wondering if anyone knows the syntax for the memcopy function
- >(well, I think it's memcopy...it might be something similar to
- >memcopy...it's the function that copies some specified area of memory
- >bitwise into some other area of memory). This would be very helpful;
- >thanks much.
-
- Don't you have any documentation? You could at least look in your
- "mem.h" header file (I assme you have it, otherwise you wouldn't be
- asking how to use it).
-
- The function is memcpy(), prototyped in my "mem.h" as...
-
- void *memcpy(void *dest, const void *src, size_t n);
-
- Where dest points to the place you want the memory pointed to by src
- to go. n is the number of bytes to copy from src to dest.
-
- This is really basic. What programming resources do you have? May I
- suggest getting better resources? For example, I can go to my
- compiler's help and type "memcpy" and see documentation for it. Can't
- you do something like this?
-
- Regards,
- -------------------------------------------------------------------------
- Matt Arnold | | ||| | |||| | | | || ||
- marnold@netcom.com | | ||| | |||| | | | || ||
- Boston, MA | 0 | ||| | |||| | | | || ||
- 617.389.7384 (h) 617.576.2760 (w) | | ||| | |||| | | | || ||
- C++, MIDI, Win32/95 developer | | ||| 4 3 1 0 8 3 || ||
- -------------------------------------------------------------------------
-